package com.orange.quickback.system.entities.system.config;

import com.orange.quickback.system.entities.QBootObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * q-boot 配置键值对 字典数据
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "q_boot_config")
public class QBootConfig extends QBootObject {
    @Column(name = "q_boot_key", nullable = false,length = 255,unique = true)
    private String qBootKey;
    @Column(name = "q_boot_value", nullable = false,length = 4095)
    private String qBootValue;
    @Column(name = "q_boot_is_active", nullable = false)
    private Boolean isActive = true;
    @Column(name = "q_boot_description", nullable = false ,length = 4095)
    private String qBootDescription;
}
